// {"merchant_balance_record_id":"1",
// "merchant_id":"2","order_id":"1111",
// "goods_id":"111","user_id":"1","money":"10.00",
// "merchant_balance":"100.00","action":"add",
// "create_time":"2020-01-18 09:10:39","fee":"50",
// "action_zh":"","action_symbol":""}

class BalanceEntity {
  String create_time; //
  String merchant_id; //
  String merchant_balance_record_id;
  String action_zh;
  String action_symbol;
  String is_top;
  String goods_name;
  String money;
String action;//浏览数
  BalanceEntity(
      {this.create_time,
      this.merchant_id,
      this.money,
      this.action_zh,
      this.merchant_balance_record_id,
      this.action_symbol,
      this.is_top,
      this.action,
      this.goods_name});
  BalanceEntity.fromJson(Map<String, dynamic> json) {
    create_time = json['create_time'];
    merchant_id = json['merchant_id'];
    merchant_balance_record_id = json['merchant_balance_record_id'];
    action_zh = json['action_zh'];
    money = json['money'];
    action=json['action'];
    goods_name = json['goods_name'];
    action_symbol = json['action_symbol'];
    is_top = json['is_top'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['create_time'] = this.create_time;
    data['merchant_id'] = this.merchant_id;
    data['is_top'] = this.is_top;
    data['action_symbol'] = this.action_symbol;
    data['merchant_balance_record_id'] = this.merchant_balance_record_id;
    data['action_zh'] = this.action_zh;
    data['goods_name'] = this.goods_name;
    data['money'] = this.money;
    data['action']=this.action;
    return data;
  }
}
